import React, {Component} from 'react'
export default class ComG extends React.Component {
  state = {
    info: 'hi'
  }
  render() {
    return (<div>
      <p>我是G组件</p>
      props的真面目：{JSON.stringify(this.props)}
      <p>动态路由的参数：{this.props.match.params.id}</p>
    </div>)
  }
}